package org.aplikator.server.query;

import org.aplikator.client.shared.descriptor.QueryParameter;

import java.util.List;

public abstract class QueryExpression {

    public abstract void bindParameters(List<QueryParameter> parameters);

    public QueryCombineExpression AND (QueryExpression rightSide){
        return new QueryCombineExpression(this, QueryCombineOperator.AND,rightSide);
    }

    public QueryCombineExpression OR (QueryExpression rightSide){
        return new QueryCombineExpression(this, QueryCombineOperator.AND,rightSide);
    }

}
